function Clickadd(nid){
    $.get("NewsClickServlet",{nid:nid},function (data){
        if(data>0){
            location.href="detail.jsp?nid="+nid;
        }

    });

}

function PClickadd(pid){
    $.get("ProductClickServlet",{pid:pid},function (data){
        if(data>0){
            location.href="product_xq.jsp?pid="+pid;
        }

    })


}

